class CreateHotPostTypes < ActiveRecord::Migration
  def self.up
    create_table :hot_post_types do |t|
      t.string :name,
        :type
      t.integer :hot_posts_count, :default => 0
      t.timestamps
    end
  end

  def self.down
    drop_table :hot_post_types
  end
end
